<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .list label {
            margin: 10px;
        }

        .marginTen {
            margin: 10px;
        }

        .dis {
            border: 0;
            background-color: #fff;
            color: black;
            text-align: center;
        }

        .display-none {
            display: none;
        }

        th {
            text-align: center;
        }

        .m_point {
            color: #999;
            font-size: 10px;
            cursor: pointer;
        }
    </style>
</head>
<body>
<div class="box">
    <div class="box-body">
        <table id="mainDataTable" class="table table-bordered table-striped" cellspacing="0" width="100%">
            <thead>
            <tr>
                <th>
                    <input onchange="$.checkChange()" type="checkbox" id="batchCheck">
                </th>
                <th>序号</th>
                <th>设备码</th>
                <th>报警器状态</th>
                <th>设备型号</th>
                <th>设备厂商</th>
                <th>安装地址</th>
                <th>公司</th>
                <th>创建时间</th>
                <th>更新时间</th>
                <th>绑定设备</th>
                <th>操作</th>
            </tr>
            </thead>
        </table>
    </div>
</div>
<div id="modal-port" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="label-class"
     aria-hidden="true">
    <div class="modal-dialog" style="width: 50%;min-width: 800px;">
        <div class="modal-content">
            <form id="form-port" name="form-port" class="form-horizontal" role="form" method="post">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                            onclick="$.clearModal($('#form-port'), $('#modal-port'))">
                        <span aria-hidden="true">&times;</span></button>
                    <b class="modal-title"></b>
                </div>
                <div class="modal-body" style="overflow: auto">
                    <input type="hidden" id="modalDeviceId">
                    <!--<input type="hidden" id="alarmId">-->
                    <div class="btn-group" style="float: right;">
                        <button type="button" class="btn btn-primary btn-sm btn-flat">
                            <i class="fa fa-cog"></i> 操作
                        </button>
                        <button type="button" class="btn btn-primary btn-sm btn-flat dropdown-toggle"
                                data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                            <span class="caret"></span><span class="sr-only">切换下拉</span></button>
                        <ul class="dropdown-menu">
                            <li>
                                <button type="button" class="btn btn-primary btn-sm btn-flat btn-block"
                                        onclick="$.loadPortInfo();"><i class="fa fa-refresh"></i> 刷新
                                </button>
                            </li>
                            <li>
                                <button type="button" class="btn btn-primary btn-sm btn-flat btn-block"
                                        onclick="$.addPort4Alarm()"><i class="fa fa-plus-square"></i> 添加
                                </button>
                            </li>
                        </ul>
                    </div>
                    <table id="port_table" class="table table-bordered table-striped" cellspacing="0">
                        <thead>
                        <tr>
                            <th>端口号</th>
                            <th>端口状态</th>
                            <th>低电平计数值</th>
                            <th>最小值</th>
                            <th>最大值</th>
                            <th>创建时间</th>
                            <th>更新时间</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody id="port_body"></tbody>
                    </table>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-warning btn-flat" data-dismiss="modal"
                            onclick="$.clearModal($('#form-port'), $('#modal-port'))"><i class="fa fa-trash-o"></i>
                        确定
                    </button>
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>


<div class="modal fade" id="rule-modal" tabindex="-1" role="dialog" style="z-index: 1100;"
     aria-labelledby="mapModalLabel" aria-hidden="true">
    <input type="hidden" id="modal_ruleModel">
    <div class="modal-dialog " style="width: 60%;min-width: 400px">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="mapModalLabel">规则列表</h4>

            </div>
            <div class="modal-body" style="max-height: 550px;overflow: auto;">
                <div class="col-md-12">
                    <table id="rule_model_table"
                           class="table table-striped table-bordered"
                           cellspacing="0" width="100%">
                        <thead>
                        <tr>
                            <th>流水号</th>
                            <th>规则类型</th>
                            <th>规则名称</th>
                            <th>规则简介</th>
                            <th>创建时间</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                    </table>
                </div>
            </div>
            </form>
        </div>
    </div>
</div>

<div id="modal-addRule" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="label-class"
     aria-hidden="true">
    <div class="modal-dialog" style="width: 60%">
        <div class="modal-content">
            <form id="form-addRule" class="form-horizontal" role="form" method="post">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                            onclick="$.clearModal($('#form-addRule'), $('#modal-addRule'))">
                        <span aria-hidden="true">&times;</span></button>
                    <b class="modal-title"></b>
                </div>
                <input id="ruleAlarmId" type="hidden">
                <input id="ruleType" type="hidden">
                <div class="modal-body">
                    <div class="row" style="margin: 0">
                        <span>端口列表</span>
                        <button type="button" onclick="$.makeRule()" class="btn btn-warning btn-flat btn-sm"
                                style="float: right">
                            制定规则
                        </button>
                    </div>
                    <div id="portList" class="list">
                        <label><input type="checkbox" mVal="7">机箱门</label>
                        <label><input type="checkbox" mVal="6">机箱电源</label>
                        <label><input type="checkbox" mVal="5">人绿</label>
                        <label><input type="checkbox" mVal="4">空</label>
                        <label><input type="checkbox" mVal="3">人红</label>
                        <label><input type="checkbox" mVal="2">车绿</label>
                        <label><input type="checkbox" mVal="1">车黄</label>
                        <label><input type="checkbox" mVal="0">车红</label>
                    </div>
                    <div id="ruleList" style="display: none">
                        <div id="ruleFactory">
                            <div class="form-group">
                                <label class="col-sm-3 marginTen control-label">规则概要</label>
                                <div class="col-sm-7 marginTen">
                                    <input type="text" class="form-control" placeholder="规则概要"
                                           id="ruleName" name="ruleName">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 marginTen control-label">规则类型</label>
                                <div class="col-sm-4 marginTen">
                                    <select class="form-control" id="flag">
                                        <option selected>100</option>
                                        <option>200</option>
                                    </select>
                                </div>
                                <div id="ruleLevel" class="col-sm-2 marginTen">
                                    <span>优先级</span>
                                    <label><input mval="1" type="radio" name="ruleLevel" checked>高</label>
                                    <label><input mval="2" type="radio" name="ruleLevel">低</label>
                                </div>
                                <button type="button" onclick="$.setRule()"
                                        class="marginTen col-sm-1 btn btn-primary btn-flat btn-sm">确定
                                </button>
                            </div>
                        </div>
                    </div>
                    <div>
                        <table id="resultRoom" class="table table-bordered table-striped">
                            <tr>
                                <th>规则等级</th>
                                <th>规则简介</th>
                                <th>规则内容</th>
                                <th>限制时间</th>
                                <th>操作</th>
                            </tr>
                        </table>
                        <h3 id="taptap" style="margin-left: 30%;display: block">暂无新增规则</h3>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-warning btn-flat pull-left" data-dismiss="modal"
                            onclick="$.clearModal($('#form-addRule'), $('#modal-addRule'))"><i
                            class="fa fa-trash-o"></i>
                        关闭
                    </button>
                    <button type="button" id="ruleSave" class="btn btn-warning btn-flat"><i class="fa fa-trash-o"></i>
                        保存
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>

<div id="modal-alarm" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="label-class"
     aria-hidden="true">
    <div class="modal-dialog" style="width: 20%;min-width: 400px;">
        <div class="modal-content">
            <form id="form-alarm" name="form-alarm" class="form-horizontal" role="form" method="post">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                            onclick="$.clearModal($('#form-alarm'), $('#modal-alarm'))">
                        <span aria-hidden="true">&times;</span></button>
                    <b class="modal-title"></b>
                </div>
                <input type="hidden" id="alarmId" name="alarmId">
                <input type="hidden" id="createUser" name="createUser">
                <input type="hidden" value="-1" name="deviceType">
                <div class="modal-body" style="overflow: hidden">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">设备码</label>
                        <div class="col-sm-9">
                            <input type="text" class="form-control" placeholder="设备码"
                                   id="deviceId" name="deviceId">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">报警器状态</label>
                        <div class="col-sm-9">
                            <select type="text" class="form-control" placeholder="报警器状态"
                                    id="deviceState" name="deviceState">
                                <option value="0">离线</option>
                                <option value="1">在线</option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="deviceModel" class="col-sm-3 control-label ">规则型号</label>
                        <div class="col-sm-7">
                            <input type="hidden" class="form-control" readonly id="deviceModel" name="deviceModel">
                            <input type="text" class="form-control" readonly id="deviceModelDetail"
                                   placeholder="规则型号">
                        </div>
                        <div class="col-sm-1">
                            <button type="button" id="deviceModelBtn" class="btn btn-default btn-xs btn-flat"
                                    style="height: 30px"><i class="fa fa-cog"></i></button>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">所属公司</label>
                        <div class="col-sm-9">
                            <select class="form-control"
                                    id="deviceOrgId" name="deviceOrgId">
                                <option value="" selected>所属公司</option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">设备备注</label>
                        <div class="col-sm-9">
                            <input type="text" class="form-control" placeholder="设备备注"
                                   id="deviceManufacturer" name="deviceManufacturer">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">安装地址</label>
                        <div class="col-sm-9">
                            <input type="text" class="form-control" placeholder="安装地址"
                                   id="deviceAddress" name="deviceAddress">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">特殊端口</label>
                        <div class="col-sm-9">
                            <input type="text" class="form-control" placeholder="特殊端口"
                                   id="specialPoint" name="specialPoint">
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-warning btn-flat pull-left" data-dismiss="modal"
                            onclick="$.clearModal($('#form-alarm'), $('#modal-alarm'))"><i class="fa fa-trash-o"></i>
                        关闭
                    </button>
                    <button type="submit" class="btn btn-warning btn-flat"><i class="fa fa-trash-o"></i>
                        保存
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>

<div id="modal-cmd" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="label-class"
     aria-hidden="true">
    <div class="modal-dialog" style="width: 20%;min-width: 500px;">
        <div class="modal-content">
            <form id="form-cmd" name="form-cmd" class="form-horizontal" role="form" method="post">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                            onclick="$.clearModal($('#form-cmd'), $('#modal-cmd'))">
                        <span aria-hidden="true">&times;</span></button>
                    <b class="modal-title">指令</b>

                </div>
                <div class="modal-body" style="overflow: hidden">
                    <select class="form-control" id="cmdSelect" style="width: 200px;margin: 10px;">
                        <option value="" selected>指令选择</option>
                        <option value="3">发送指令</option>
                        <option value="4">查看参数</option>
                        <option value="5">查看状态</option>
                    </select>
                    <div class="form-group">
                            <textarea type="text" class="form-control" placeholder="指令" readonly
                                      id="cmd" name="cmd" style="width: 450px;height:100px; margin: 0 auto"></textarea>
                    </div>
                    <input type="hidden" id="cmd_deviceId" name="deviceId">
                    <input type="hidden" id="cmdType">
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-warning btn-flat pull-left" data-dismiss="modal"
                            onclick="$.clearModal($('#form-cmd'), $('#modal-cmd'))"><i class="fa fa-trash-o"></i>
                        关闭
                    </button>
                    <button type="button" id="setParaBtn" class="btn btn-warning btn-flat">指令模板</button>
                    <button type="button" id="sendCmd" class="btn btn-warning btn-flat"><i class="fa fa-trash-o"></i>
                        发送
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>

<div id="modal-para" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="label-class"
     aria-hidden="true">
    <div class="modal-dialog" style="width: 20%;min-width: 500px;">
        <div class="modal-content">
            <form id="form-para" name="form-para" class="form-horizontal" role="form" method="post">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                            onclick="$.clearModal($('#form-para'), $('#modal-para'))">
                        <span aria-hidden="true">&times;</span></button>
                    <b class="modal-title">指令</b>
                    <select class="form-group" style="margin: 10px;" id="inputTypeId">
                        <option value="1" selected>setpara</option>
                        <option value="2">setkey</option>
                    </select>
                </div>
                <div class="modal-body" style="overflow: hidden">
                    <div class="setpara">
                        <div class="form-group">
                            <span title="100次扫描内 实际次数>该阈值 短周期计数值+1   建议值=80">
                                <label class="col-sm-3 control-label">
                                基本单位阈值 <i class="glyphicon glyphicon-question-sign m_point"></i>
                            </label></span>
                            <div class="col-sm-9">
                                <input type="text" class="form-control" placeholder="Min_Transient"
                                       id="Min_Transient" name="Min_Transient">
                            </div>
                        </div>
                        <div class="form-group">
                            <span title="一个短周期内 实际短周期计数值>该阈值 长周期计数值+1 建议值=短周期/2">
                                <label class="col-sm-3 control-label">短周期阈值 <i
                                        class="glyphicon glyphicon-question-sign m_point"></i>
                            </label></span>
                            <div class="col-sm-9">
                                <input type="text" class="form-control" placeholder="Min_Mediacy"
                                       id="Min_Mediacy" name="Min_Mediacy">
                            </div>
                        </div>
                        <div class="form-group">
                            <span title="一个长周期内 实际长周期>该阈值 报文返回状态=0  建议值=1">
                            <label class="col-sm-3 control-label">长周期阈值 <i
                                    class="glyphicon glyphicon-question-sign m_point"></i></label>
                            </span>
                            <div class="col-sm-9">
                                <input type="text" class="form-control" placeholder="Min_Final"
                                       id="Min_Final" name="Min_Final">
                            </div>
                        </div>
                        <div class="form-group">
                            <span title="短周期长度(连续无电时间) 短周期实际时间=短周期值*0.02 (s) 建议值=100">
                                <label class="col-sm-3 control-label">短周期值 <i
                                        class="glyphicon glyphicon-question-sign m_point" title="短周期"></i></label>
                            </span>
                            <div class="col-sm-9">
                                <input type="text" class="form-control" placeholder="ShortTimePeriod"
                                       id="ShortTimePeriod" name="Min_Final">
                            </div>
                        </div>
                        <div class="form-group">
                            <span title="长周期长度(报文发送周期) 实际时间=短周期实际时间*长周期值 (s) ">
                            <label class="col-sm-3 control-label">长周期值 <i
                                    class="glyphicon glyphicon-question-sign m_point"></i></label>
                            </span>
                            <div class="col-sm-9">
                                <input type="text" class="form-control" placeholder="LongTimePeriod"
                                       id="LongTimePeriod" name="Min_Final">
                            </div>

                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">周期时间</label>
                            <div class="col-sm-7">
                               总时间=(短周期 * 0.02) * 长周期 (s)
                            </div>
                            <div class="col-sm-2"><button type="button" id="calculate" class="btn btn-default btn-flat">计算</button></div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">实际值</label>
                            <div class="col-sm-7" id="my_sum">

                            </div>
                        </div>
                    </div>
                    <div class="setkey">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">set key</label>
                            <div class="col-sm-9">
                                <input type="text" class="form-control" placeholder="key"
                                       id="key" name="key">
                            </div>
                        </div>
                    </div>

                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-warning btn-flat pull-left" data-dismiss="modal"
                            onclick="$.clearModal($('#form-para'), $('#modal-para'))"><i class="fa fa-trash-o"></i>
                        关闭
                    </button>
                    <button type="submit" id="paraSet" class="btn btn-warning btn-flat"><i class="fa fa-trash-o"></i>
                        确定
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>


<div id="modal-bounding" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="label-class"
     aria-hidden="true">
    <div class="modal-dialog" style="width: 80%; min-width: 500px; top: 0px; left: 0px;">
        <div class="modal-content" style="top: 0px;left: 0px;">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                        onclick="$.clearModal($('#form-bounding'), $('#modal-bounding'))">
                    <span aria-hidden="true">&times;</span></button>
                <b class="modal-title">设备绑定</b>
                <select class="form-control" style="display: inline-block;width: 100px;" id="deviceType">
                    <option value="-1">类型</option>
                    <option value="2">信号灯</option>
                    <option value="3">信号机</option>
                    <option value="4">太阳能</option>
                    <option value="5">限高杆</option>
                    <option value="8">监控箱</option>
                </select>
                <h5 id="boundingDevice" style="float: right"></h5>
            </div>
            <div class="modal-body" style="overflow: hidden">
                <input type="hidden" id="boundingAlarmId">
                <h3 id="showNone">请选择绑定设备类型</h3>
                <div id="bounding-body1">

                </div>

            </div>
        </div>
    </div>
</div>

<!--规则展示模态框-->
<div class="modal fade" id="show_rule-modal" tabindex="-1" role="dialog"
     aria-labelledby="mapModalLabel" aria-hidden="true">
    <input type="hidden" id="show_modal_ruleModel">
    <div class="modal-dialog " style="width: 80%">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close"
                        onclick="$('#show_rule-modal').modal('hide')">
                    <span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title">规则列表</h4>

            </div>
            <div class="modal-body" style="max-height: 550px;overflow: auto;">
                <div class="row">
                    <div class="col-md-6">
                        <div class="col-md-12 text-center" style="font-size: 18px;margin-bottom: 20px;">
                            <label>紧急规则</label></div>
                        <div class="col-md-12">
                            <table id="redRuleDt"
                                   class="table table-striped table-bordered"
                                   cellspacing="0" width="100%">
                                <thead>
                                <tr>
                                    <th>报警</th>
                                    <th>恢复/报警</th>
                                    <th>规则</th>
                                    <th>触发状态</th>
                                </tr>
                                </thead>
                            </table>
                        </div>
                    </div>
                    <div class="col-md-6">
                        <div class="col-md-12 text-center" style="font-size: 18px;margin-bottom: 20px;">
                            <label>常规规则</label></div>
                        <div class="col-md-12">
                            <table id="blueRuleDt"
                                   class="table table-striped table-bordered"
                                   cellspacing="0" width="100%">
                                <thead>
                                <tr>
                                    <th>报警信息</th>
                                    <th>规则</th>
                                    <th>触发状态</th>
                                </tr>
                                </thead>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-danger btn-flat"
                        onclick="$('#show_rule-modal').modal('hide')">
                    <span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
                    关闭
                </button>
            </div>
            </form>
        </div>
    </div>
</div>

<!--信息查看模态框-->

<div id="highLeverModal" class="modal fade" tabindex="-1" role="dialog"
     aria-labelledby="highLeverLabel" aria-hidden="true">
    <div class="modal-dialog" style="width: 820px;">
        <div class="modal-content">
            <form id="highLeverForm" name="highLeverForm"
                  class="form-horizontal" role="form" method="post">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                            onclick='$.clearModal($("#highLeverForm"), $("#highLeverModal"));$.beDefault()'>
                        <span aria-hidden="true">&times;</span></button>
                    <b class="modal-title" id="highLeverLabel"></b>
                </div>
                <div class="modal-body">
                    <i class="no_act z_index3" href="javascript:null "></i>
                    <div class="row">
                        <div class="col-sm-6">
                            <div class="form-group">
                                <label class="col-sm-3 control-label">项目编号</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="项目编号"
                                           id="hl_projectNumber" name="hl_projectNumber">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">地址</label>
                                <div class="col-sm-3" style="padding-right: 0">
                                    <input class="form-control" style="padding-right: 10px"
                                           id="hl_province" name="hl_province">
                                </div>
                                <div class="col-sm-3" style="padding-left: 7px; padding-right: 7px">
                                    <input class="form-control" style="padding-right: 10px"
                                           id="hl_city" name="hl_city">
                                </div>
                                <div class="col-sm-3" style="padding-left: 0">
                                    <input class="form-control" style="padding-right: 10px"
                                           id="hl_area" name="hl_area">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">坐标</label>
                                <div class="col-sm-8" style="padding-right: 0">
                                    <input type="text" class="form-control" placeholder="坐标" style="padding-right: 0"
                                           id="hl_coordinate" name="hl_coordinate">
                                </div>
                                <div class="col-sm-1 z_index3">
                                    <button type="button" id="highLeverBtn" style="height: 34px; float: right">
                                        <i class="fa fa-map-marker"></i>
                                    </button>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">路名</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="路名"
                                           id="highLeverRoadName" name="highLeverRoadName">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">起始路口</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="起始路口"
                                           id="highLeverStartRoad" name="highLeverStartRoad">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">结束路口</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="结束路口"
                                           id="highLeverEndRoad" name="highLeverEndRoad">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">安装公司</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="安装公司"
                                           id="highLeverInstallOrg" name="highLeverInstallOrg">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">安装日期</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="安装日期"
                                           id="highLeverInstallTime" name="highLeverInstallTime">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">说明备注</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="说明备注"
                                           id="highLeverRemark" name="highLeverRemark">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">养护公司</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="养护公司"
                                           id="highLeverOrgName" name="highLeverOrgName" readonly>
                                </div>
                            </div>

                        </div>
                        <div class="col-sm-6">
                            <div class="form-group">
                                <label class="col-sm-3 control-label">限高杆照片</label>
                                <div class="col-sm-9">
                                    <img id="highLeverPhotoImg" src=""
                                         onclick="$.showPicModal(this.src)"
                                         style="cursor: pointer;height: 230px; width: 260px">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">保修期</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="保修期"
                                           id="highLeverPeriod" name="highLeverPeriod">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">使用年限</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="使用年限"
                                           id="highLeverServiceLife" name="highLeverServiceLife">

                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">监管单位</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="监管单位"
                                           id="highLeverMainOrgId" name="highLeverMainOrgId">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">限高杆尺寸</label>
                                <div class="col-sm-9">
                                    <input class="form-control" id="highLeverSize" name="highLeverSize">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">采集员</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="采集员"
                                           id="highLeverCreatorName" name="highLeverCreatorName" readonly>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <input type="hidden" id="highLeverId" name="highLeverId"/>
                <input type="hidden" id="highLeverProvince" name="highLeverProvince"/>
                <input type="hidden" id="highLeverCity" name="highLeverCity"/>
                <input type="hidden" id="highLeverArea" name="highLeverArea"/>
                <input type="hidden" id="highLeverLongitude" name="highLeverLongitude"/>
                <input type="hidden" id="highLeverLatitude" name="highLeverLatitude"/>
                <input type="hidden" id="highLeverRegionId" name="highLeverRegionId">
                <input type="hidden" id="highLeverCreatorId" name="highLeverCreatorId"/>
                <input type="hidden" id="highLeverModifierId" name="highLeverModifierId"/>
                <input type="hidden" id="highLeverOrgId" name="highLeverOrgId"/>
                <input type="hidden" id="highLeverPhoto" name="highLeverPhoto"/>
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary btn-flat" data-dismiss="modal"
                            onclick='$.clearModal($("#highLeverForm"), $("#highLeverModal"));$.beDefault()'>
                        <i class="glyphicon glyphicon-ok"></i> 确定
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>

<div id="signalLampModal" class="modal fade" tabindex="-1" role="dialog"
     aria-labelledby="signalLampLabel" aria-hidden="true">
    <div class="modal-dialog" style="width: 800px;">
        <div class="modal-content">
            <form id="signalLampForm" name="signalLampForm"
                  class="form-horizontal" role="form" method="post">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                            onclick='$.clearModal($("#signalLampForm"), $("#signalLampModal"));$.beDefault()'>
                        <span aria-hidden="true">&times;</span></button>
                    <b class="modal-title" id="signalLampLabel"></b>
                </div>
                <div class="modal-body">
                    <i class="no_act z_index3" href="javascript:null "></i>
                    <div class="row">
                        <div class="col-sm-6">
                            <div class="form-group">
                                <label class="col-sm-3 control-label">项目编号</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="项目编号"
                                           id="sl_projectNumber" name="sl_projectNumber">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">地址</label>
                                <div class="col-sm-3" style="padding-right: 0">
                                    <input class="form-control" style="padding-right: 10px"
                                           id="sl_province">
                                </div>
                                <div class="col-sm-3" style="padding-left: 7px; padding-right: 7px">
                                    <input class="form-control" style="padding-right: 10px"
                                           id="sl_city">
                                </div>
                                <div class="col-sm-3" style="padding-left: 0">
                                    <input class="form-control" style="padding-right: 10px"
                                           id="sl_area">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">坐标</label>
                                <div class="col-sm-8" style="padding-right: 0">
                                    <input type="text" class="form-control" placeholder="坐标"
                                           style="padding-right: 0"
                                           id="sl_coordinate" name="sl_coordinate">
                                </div>
                                <div class="col-sm-1 z_index3">
                                    <button type="button" id="signalLampBtn" style="height: 34px; float: right">
                                        <i class="fa fa-map-marker"></i>
                                    </button>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">起始路口</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="起始路口"
                                           id="signalLampStartRoad" name="signalLampStartRoad">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">结束路口</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="结束路口"
                                           id="signalLampEndRoad" name="signalLampEndRoad">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">品牌</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="品牌"
                                           id="signalLampBrand" name="signalLampBrand">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">安装公司</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="安装公司"
                                           id="signalLampInstallOrg" name="signalLampInstallOrg">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">安装日期</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="安装日期"
                                           id="signalLampInstallTime" name="signalLampInstallTime">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">说明备注</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="说明备注"
                                           id="signalLampRemark" name="signalLampRemark">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">养护公司</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="养护公司"
                                           id="signalLampOrgName" name="signalLampOrgName" readonly>
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-6">
                            <div class="form-group">
                                <label class="col-sm-3 control-label">信号灯照片</label>
                                <div class="col-sm-9">
                                    <img id="signalLampPhotoImg" src=""
                                         onclick="$.showPicModal(this.src)"
                                         style="cursor: pointer;height: 232px; width: 260px">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">保修期</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="保修期"
                                           id="signalLampPeriod" name="signalLampPeriod">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">使用年限</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="使用年限"
                                           id="signalLampServiceLife" name="signalLampServiceLife">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">监管单位</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="监管单位"
                                           id="signalLampMainOrgId" name="signalLampMainOrgId">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">类型</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="类型"
                                           id="signalLampTypeBtn" name="signalLampTypeBtn">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">采集员</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="采集员"
                                           id="signalLampCreatorName" name="signalLampCreatorName" readonly>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <input type="hidden" id="signalLampType" name="signalLampType">
                <input type="hidden" id="signalLampId" name="signalLampId"/>
                <input type="hidden" id="signalLampProvince" name="signalLampProvince"/>
                <input type="hidden" id="signalLampCity" name="signalLampCity"/>
                <input type="hidden" id="signalLampArea" name="signalLampArea"/>
                <input type="hidden" id="signalLampLongitude" name="signalLampLongitude"/>
                <input type="hidden" id="signalLampLatitude" name="signalLampLatitude"/>
                <input type="hidden" id="signalLampRegionId" name="signalLampRegionId">
                <input type="hidden" id="signalLampCreatorId" name="signalLampCreatorId"/>
                <input type="hidden" id="signalLampModifierId" name="signalLampModifierId"/>
                <input type="hidden" id="signalLampOrgId" name="signalLampOrgId"/>
                <input type="hidden" id="signalLampPhoto" name="signalLampPhoto"/>
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary btn-flat" data-dismiss="modal"
                            onclick='$.clearModal($("#signalLampForm"), $("#signalLampModal"));$.beDefault()'>
                        <i class="glyphicon glyphicon-ok"></i> 确定
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>

<div id="solarEnergyModal" class="modal fade" tabindex="-1" role="dialog"
     aria-labelledby="solarEnergyLabel" aria-hidden="true">
    <div class="modal-dialog" style="width: 800px;">
        <div class="modal-content">
            <form id="solarEnergyForm" name="solarEnergyForm"
                  class="form-horizontal" role="form" method="post">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                            onclick='$.clearModal($("#solarEnergyForm"), $("#solarEnergyModal"));$.beDefault()'>
                        <span aria-hidden="true">&times;</span></button>
                    <b class="modal-title" id="solarEnergyLabel"></b>
                </div>
                <div class="modal-body">
                    <i class="no_act z_index3" href="javascript:null "></i>
                    <div class="row">
                        <div class="col-sm-6">
                            <div class="form-group">
                                <label class="col-sm-3 control-label">项目编号</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="项目编号"
                                           id="so_projectNumber" name="so_projectNumber">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">地址</label>
                                <div class="col-sm-3" style="padding-right: 0">
                                    <input class="form-control" style="padding-right: 10px"
                                           id="so_province" name="province">
                                </div>
                                <div class="col-sm-3" style="padding-left: 7px; padding-right: 7px">
                                    <input class="form-control" style="padding-right: 10px"
                                           id="so_city" name="city">
                                </div>
                                <div class="col-sm-3" style="padding-left: 0">
                                    <input class="form-control" style="padding-right: 10px"
                                           id="so_area" name="area">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">坐标</label>
                                <div class="col-sm-8" style="padding-right: 0">
                                    <input type="text" class="form-control" placeholder="坐标" style="padding-right: 0"
                                           id="so_coordinate" name="so_coordinate">
                                </div>
                                <div class="col-sm-1 z_index3">
                                    <button type="button" id="solarEnergyBtn" style="height: 34px; float: right">
                                        <i class="fa fa-map-marker"></i>
                                    </button>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">路名</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="路名"
                                           id="solarEnergyRoadName" name="solarEnergyRoadName">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">起始路口</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="起始路口"
                                           id="solarEnergyStartRoad" name="solarEnergyStartRoad">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">结束路口</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="结束路口"
                                           id="solarEnergyEndRoad" name="solarEnergyEndRoad">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">品牌</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="品牌"
                                           id="solarEnergyBrand" name="solarEnergyBrand">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">安装公司</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="安装公司"
                                           id="solarEnergyInstallOrg" name="solarEnergyInstallOrg">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">安装日期</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="安装日期"
                                           id="solarEnergyInstallTime" name="solarEnergyInstallTime">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">说明备注</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="说明备注"
                                           id="solarEnergyRemark" name="solarEnergyRemark">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">养护公司</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="养护公司"
                                           id="solarEnergyOrgName" name="solarEnergyOrgName" readonly>
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-6">
                            <div class="form-group">
                                <label class="col-sm-3 control-label">太阳能照片</label>
                                <div class="col-sm-9">
                                    <img id="solarEnergyPhotoImg" src=""
                                         onclick="$.showPicModal(this.src)"
                                         style="cursor: pointer;height: 185px; width: 260px">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">保修期</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="保修期"
                                           id="solarEnergyPeriod" name="solarEnergyPeriod">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">使用年限</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="使用年限"
                                           id="solarEnergyServiceLife" name="solarEnergyServiceLife">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">监管单位</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="监管单位"
                                           id="solarEnergyMainOrgId" name="solarEnergyMainOrgId">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">类型</label>
                                <div class="col-sm-9">
                                    <select class="form-control" id="solarEnergyType" name="solarEnergyType" disabled>
                                        <option value="0">爆闪灯单面</option>
                                        <option value="1">爆闪灯双面</option>
                                        <option value="2">移动灯两相位</option>
                                        <option value="3">移动灯多相位</option>
                                        <option value="4">标牌</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">材质</label>
                                <div class="col-sm-9">
                                    <select class="form-control" id="solarEnergyMaterial" name="solarEnergyMaterial"
                                            disabled>
                                        <option value="0">铁质</option>
                                        <option value="1">塑料</option>
                                        <option value="2">铝质</option>
                                        <option value="3">其他</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">形式</label>
                                <div class="col-sm-9">
                                    <select class="form-control" id="solarEnergyStyle" name="solarEnergyStyle" disabled>
                                        <option value="0">固定式</option>
                                        <option value="1">移动式</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">采集员</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="采集员"
                                           id="solarEnergyCreatorName" name="solarEnergyCreatorName"
                                           readonly="readonly">
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <input type="hidden" id="solarEnergyId" name="solarEnergyId"/>
                <input type="hidden" id="solarEnergyProvince" name="solarEnergyProvince"/>
                <input type="hidden" id="solarEnergyCity" name="solarEnergyCity"/>
                <input type="hidden" id="solarEnergyArea" name="solarEnergyArea"/>
                <input type="hidden" id="solarEnergyLongitude" name="solarEnergyLongitude"/>
                <input type="hidden" id="solarEnergyLatitude" name="solarEnergyLatitude"/>
                <input type="hidden" id="solarEnergyRegionId" name="solarEnergyRegionId">
                <input type="hidden" id="solarEnergyCreatorId" name="solarEnergyCreatorId"/>
                <input type="hidden" id="solarEnergyModifierId" name="solarEnergyModifierId"/>
                <input type="hidden" id="solarEnergyOrgId" name="solarEnergyOrgId"/>
                <input type="hidden" id="solarEnergyPhoto" name="solarEnergyPhoto"/>
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary btn-flat" data-dismiss="modal"
                            onclick='$.clearModal($("#solarEnergyForm"), $("#solarEnergyModal"));$.beDefault()'>
                        <i class="glyphicon glyphicon-ok"></i> 确定
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>

<div id="signalMachineModal" class="modal fade" tabindex="-1" role="dialog"
     aria-labelledby="signalMachineLabel" aria-hidden="true">
    <div class="modal-dialog" style="width: 800px;">
        <div class="modal-content">
            <form id="signalMachineForm" name="signalMachineForm"
                  class="form-horizontal" role="form" method="post">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                            onclick='$.clearModal($("#signalMachineForm"), $("#signalMachineModal"));$.beDefault()'>
                        <span aria-hidden="true">&times;</span></button>
                    <b class="modal-title" id="signalMachineLabel"></b>
                </div>
                <div class="modal-body">
                    <i class="no_act z_index3" href="javascript:null "></i>
                    <div class="row">
                        <div class="col-sm-6">
                            <div class="form-group">
                                <label class="col-sm-3 control-label">项目编号</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="项目编号"
                                           id="sm_projectNumber" name="sm_projectNumber">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">信号机编号</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="信号机编号"
                                           id="signalMachineNumber" name="signalMachineNumber">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">地址</label>
                                <div class="col-sm-3" style="padding-right: 0">
                                    <input type="text" class="form-control" style="padding-right: 10px"
                                           id="sm_province">
                                </div>
                                <div class="col-sm-3" style="padding-left: 7px; padding-right: 7px">
                                    <input type="text" class="form-control" style="padding-right: 10px"
                                           id="sm_city">
                                </div>
                                <div class="col-sm-3" style="padding-left: 0">
                                    <input type="text" class="form-control" style="padding-right: 10px"
                                           id="sm_area">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">坐标</label>
                                <div class="col-sm-8" style="padding-right: 0">
                                    <input type="text" class="form-control" placeholder="坐标" style="padding-right: 0"
                                           id="sm_coordinate" name="sm_coordinate">
                                </div>
                                <div class="col-sm-1 z_index3">
                                    <button type="button" id="signalMachineBtn" style="height: 34px; float: right">
                                        <i class="fa fa-map-marker"></i>
                                    </button>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">起始路口</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="起始路口"
                                           id="signalMachineStartRoad" name="signalMachineStartRoad">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">结束路口</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="结束路口"
                                           id="signalMachineEndRoad" name="signalMachineEndRoad">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">品牌</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="品牌"
                                           id="signalMachineBrand" name="signalMachineBrand">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">安装公司</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="安装公司"
                                           id="signalMachineInstallOrg" name="signalMachineInstallOrg">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">安装日期</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="安装日期"
                                           id="signalMachineInstallTime" name="signalMachineInstallTime">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">说明备注</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="说明备注"
                                           id="signalMachineRemark" name="signalMachineRemark">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">养护公司</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="养护公司"
                                           id="signalMachineOrgName" name="signalMachineOrgName" readonly>
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-6">
                            <div class="form-group">
                                <label class="col-sm-3 control-label">信号机照片</label>
                                <div class="col-sm-9">
                                    <img id="signalMachinePhotoImg" src=""
                                         onclick="$.showPicModal(this.src)"
                                         style="cursor: pointer;height: 232px; width: 260px">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">保修期</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="保修期"
                                           id="signalMachinePeriod" name="signalMachinePeriod">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">使用年限</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="使用年限"
                                           id="signalMachineServiceLife" name="signalMachineServiceLife">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">监管单位</label>
                                <div class="col-sm-9">
                                    <input class="form-control" id="signalMachineMainOrgId"
                                           name="signalMachineMainOrgId">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">类型</label>
                                <div class="col-sm-9">
                                    <select class="form-control" id="signalMachineType" name="signalMachineType"
                                            disabled>
                                        <option value="0">A类信号机</option>
                                        <option value="1">B类信号机</option>
                                        <option value="2">C类信号机</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">报警功能</label>
                                <div class="col-sm-9">
                                    <select class="form-control" id="signalMachineIsAlarm" name="signalMachineIsAlarm"
                                            disabled>
                                        <option value="0">否</option>
                                        <option value="1">是</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">采集员</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="采集员"
                                           id="signalMachineCreatorName" name="signalMachineCreatorName"
                                           readonly="readonly">
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <input type="hidden" id="signalMachineId" name="signalMachineId"/>
                <input type="hidden" id="signalMachineProvince" name="signalMachineProvince"/>
                <input type="hidden" id="signalMachineCity" name="signalMachineCity"/>
                <input type="hidden" id="signalMachineArea" name="signalMachineArea"/>
                <input type="hidden" id="signalMachineLongitude" name="signalMachineLongitude"/>
                <input type="hidden" id="signalMachineLatitude" name="signalMachineLatitude"/>
                <input type="hidden" id="signalMachineRegionId" name="signalMachineRegionId">
                <input type="hidden" id="signalMachineCreatorId" name="signalMachineCreatorId"/>
                <input type="hidden" id="signalMachineModifierId" name="signalMachineModifierId"/>
                <input type="hidden" id="signalMachineOrgId" name="signalMachineOrgId"/>
                <input type="hidden" id="signalMachinePhoto" name="signalMachinePhoto"/>
                <div class="modal-footer">

                    <button type="button" class="btn btn-primary btn-flat" data-dismiss="modal"
                            onclick='$.clearModal($("#signalMachineForm"), $("#signalMachineModal"));$.beDefault()'>
                        <i class="glyphicon glyphicon-ok"></i> 确定
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>

<div id="monitorModal" class="modal fade" tabindex="-1" role="dialog"
     aria-labelledby="monitorLabel" aria-hidden="true">
    <div class="modal-dialog" style="width: 820px;">
        <div class="modal-content">
            <form id="monitorForm" name="monitorForm"
                  class="form-horizontal" role="form" method="post">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                            onclick='$.clearModal($("#monitorForm"), $("#monitorModal"));$.beDefault()'>
                        <span aria-hidden="true">&times;</span></button>
                    <b class="modal-title" id="monitorLabel"></b>
                </div>
                <div class="modal-body">
                    <i class="no_act z_index3" href="javascript:null "></i>
                    <div class="row">
                        <div class="col-sm-6">
                            <div class="form-group">
                                <label class="col-sm-3 control-label">项目编号</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="项目编号"
                                           id="mo_projectNumber" name="mo_projectNumber">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">地址</label>
                                <div class="col-sm-3" style="padding-right: 0">
                                    <input type="text" class="form-control" style="padding-right: 10px"
                                           id="mo_province" name="province">
                                </div>
                                <div class="col-sm-3" style="padding-left: 7px; padding-right: 7px">
                                    <input type="text" class="form-control" style="padding-right: 10px"
                                           id="mo_city" name="city">
                                </div>
                                <div class="col-sm-3" style="padding-left: 0">
                                    <input type="text" class="form-control" style="padding-right: 10px"
                                           id="mo_area" name="area">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">坐标</label>
                                <div class="col-sm-8" style="padding-right: 0">
                                    <input type="text" class="form-control" placeholder="坐标" style="padding-right: 0"
                                           id="mo_coordinate" name="mo_coordinate">
                                </div>
                                <div class="col-sm-1  z_index3">
                                    <button type="button" id="monitorBtn" style="height: 34px; float: right">
                                        <i class="fa fa-map-marker"></i>
                                    </button>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">路名</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="路名"
                                           id="monitorRoadName" name="monitorRoadName">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">起始路口</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="起始路口"
                                           id="monitorStartRoad" name="monitorStartRoad">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">结束路口</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="结束路口"
                                           id="monitorEndRoad" name="monitorEndRoad">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">品牌</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="品牌"
                                           id="monitorBrand" name="monitorBrand">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">安装公司</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="安装公司"
                                           id="monitorInstallOrg" name="monitorInstallOrg">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">安装日期</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="安装日期"
                                           id="monitorInstallTime" name="monitorInstallTime">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">说明备注</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="说明备注"
                                           id="monitorRemark" name="monitorRemark">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">养护公司</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="养护公司"
                                           id="monitorOrgName" name="monitorOrgName" readonly>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">采集员</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="采集员"
                                           id="monitorCreatorName" name="monitorCreatorName" readonly>
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-6">
                            <div class="form-group">
                                <label class="col-sm-3 control-label">监控箱照片</label>
                                <div class="col-sm-9">
                                    <img id="monitorPhotoImg" src=""
                                         onclick="$.showPicModal(this.src)"
                                         style="cursor: pointer;height: 180px; width: 260px">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">保修期</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="保修期"
                                           id="monitorPeriod" name="monitorPeriod">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">使用年限</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="使用年限"
                                           id="monitorServiceLife" name="monitorServiceLife">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">监管单位</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" placeholder="监管单位"
                                           id="monitorMainOrgId" name="monitorMainOrgId">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">监控朝向</label>
                                <div class="col-sm-9">
                                    <select class="form-control" id="monitorDirection" name="monitorDirection" disabled>
                                        <option value="0">东</option>
                                        <option value="1">南</option>
                                        <option value="2">西</option>
                                        <option value="3">北</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">监控箱尺寸</label>
                                <div class="col-sm-9">
                                    <input class="form-control" id="monitorSize" name="monitorSize">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">监控杆形状</label>
                                <div class="col-sm-9">
                                    <select class="form-control" id="monitorPoleShape" name="monitorPoleShape" disabled>
                                        <option value="0">八角</option>
                                        <option value="1">圆管</option>
                                        <option value="2">等径</option>
                                        <option value="3">变径</option>
                                        <option value="4">锥形</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">监控杆位置</label>
                                <div class="col-sm-9">
                                    <select class="form-control" id="monitorPosition" name="monitorPosition" disabled>
                                        <option value="0">地面</option>
                                        <option value="1">杆上</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">监控杆尺寸</label>
                                <div class="col-sm-9">
                                    <input class="form-control" id="monitorPoleSize" name="monitorPoleSize">
                                </div>
                            </div>

                        </div>
                    </div>
                </div>
                <input type="hidden" id="monitorId" name="monitorId"/>
                <input type="hidden" id="monitorProvince" name="monitorProvince"/>
                <input type="hidden" id="monitorCity" name="monitorCity"/>
                <input type="hidden" id="monitorArea" name="monitorArea"/>
                <input type="hidden" id="monitorLongitude" name="monitorLongitude"/>
                <input type="hidden" id="monitorLatitude" name="monitorLatitude"/>
                <input type="hidden" id="monitorRegionId" name="monitorRegionId">
                <input type="hidden" id="monitorCreatorId" name="monitorCreatorId"/>
                <input type="hidden" id="monitorModifierId" name="monitorModifierId"/>
                <input type="hidden" id="monitorOrgId" name="monitorOrgId"/>
                <input type="hidden" id="monitorPhoto" name="monitorPhoto"/>
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary btn-flat" data-dismiss="modal"
                            onclick='$.clearModal($("#monitorForm"), $("#monitorModal"));$.beDefault()'>
                        <i class="glyphicon glyphicon-ok"></i> 确定
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>

<!--地图模态框-->
<div id="modal-map" class="modal fade" tabindex="-1" role="dialog"
     aria-labelledby="label-map" aria-hidden="true" style="z-index: 1500">
    <div class="modal-dialog" style="width: 800px;">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                        onclick="$.clearModal($('#form-map'), $('#modal-map'))">
                    <span aria-hidden="true">&times;</span></button>
                <b id="label-map" class="modal-title">地图展示</b>
            </div>
            <div class="modal-body">
                <iframe id="myMap" src="management/roadPoleMap.html"
                        style="width: 100%;height: 365px" frameBorder=0 scrolling=no>
                </iframe>
            </div>
        </div>
    </div>
</div>

</body>
<script src="management/alarmManage.js"></script>
</html>